package com.hzy.admin.repository.entity.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author hzy
 * @since 2020-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUser extends BaseModel {
    public SysUser() {
        this.isDelete = 1;
    }

    private static final long serialVersionUID = 1L;

    private String name;

    @TableField("accountName")
    private String accountName;

    private String phone;

    private String email;

    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String password;

    @TableField("isDelete")
    private Integer isDelete;

}
